/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package sdk.weinxin.beans.kfmessage;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

/**
 * 微信客服消息
 *
 * @author 张森
 */
public class KfMessage {

    private Servant customservice;
    private String touser;
    private String msgtype;

    public KfMessage() {
    }

    protected KfMessage(String touser, String msgtype) {
        this.touser = touser;
        this.msgtype = msgtype;
    }

    /**
     * @return the customservice
     */
    public Servant getCustomservice() {
        return customservice;
    }

    /**
     * @param customservice the customservice to set
     */
    public void setCustomservice(Servant customservice) {
        this.customservice = customservice;
    }

    /**
     * @return the touser
     */
    public String getTouser() {
        return touser;
    }

    /**
     * @param touser the touser to set
     */
    public void setTouser(String touser) {
        this.touser = touser;
    }

    /**
     * @return the msgtype
     */
    public String getMsgtype() {
        return msgtype;
    }

    /**
     * @param msgtype the msgtype to set
     */
    public void setMsgtype(String msgtype) {
        this.msgtype = msgtype;
    }
}
